CPSW\Gateway\Stripe\Webhook B

Total Complexity 86
Dependencies 7
Dependents 2
Total lines 566
Lines of code 361
Logical lines of code 258
Comment lines 126
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
webhook_listener()
B
36 16 80
get_webhook_interaction_message()
A
43 15 44
charge_refund()
A
41 12 52
time_elapsed_string()
S
50 6 27
payment_intent_succeeded()
S
51 6 25
charge_dispute_closed()
S
53 6 22
make_charge()
S
54 4 20
get_order_id_from_intent()
S
64 4 8
charge_capture()
S
60 3 13
payment_intent_failed()
S
59 3 13
send_failed_order_email()
S
70 3 6
charge_dispute_created()
S
61 2 12
review_opened()
S
61 2 12
review_closed()
S
61 2 11
register_endpoints()
S
62 1 13
__construct()
S
79 1 3